﻿using HZU.ZP.Domain.Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace HZU.ZP.Domain.IService
{
    public interface IMessageService
    {
        bool Add(Message message);
        bool Update(Message message);
        bool UpdateList(string sql);
        Message GetById(int id);
        IList<Message> GetMesList(string fromEmail, string toEmail);
        IList<Message> GetMesUserList(string fromEmail, string toId);
    }
}
